<?php

class field_editor extends field_base {


  /**
   * render element to html with no format
   */
  public function to_html() {
    return sprintf('<textarea %s>%s</textarea>', $this->join_attrs(), @$this->value);
  }

  public function set_value($value) {
    $this->value = $value;
  }
}